import request from '@/utils/request'

// 用户登录接口
export const login = (data) => {
  return request({
    url: '/v1_0/authorizations',
    method: 'POST',
    data
  })
}

// 发送验证码接口
export const sendSms = (mobile) => {
  return request({
    url: `/v1_0/authorizations${mobile}`,
    method: 'GET'
  })
}
